/*
 * @Author: 码上talk|RC
 * @Date: 2021-05-05 09:21:08
 * @LastEditTime: 2021-10-19 11:31:24
 * @LastEditors: 码上talk|RC
 * @Description:
 * @FilePath: /ma-portal/model/entity/axq/axqVideo.js
 * @微信:  13680065830
 * @邮箱:  3189482282@qq.com
 * @oops: Just do what I think it is right
 */

import Entity from '../../entity.class.js';

const _tableField = {

  title: {
    type: 'string',
    default: ''
  },
  url: {
    type: 'string',
    default: ''
  },
  thumbnail: {
    type: 'string',
    default: ''
  },
  thumbsUpCount: {
    type: 'int',
    default: 0
  },
  downloadUrls: {
    type: 'string',
    do: {
      parse: true
    },
    default: ''
  },
  axqVideo: {
    type: 'Object',
    default: {}
  },
  recommendAxqVideoList: {
    type: 'Array',
    default: []
  }
};

class AxqVideo extends Entity {
  static _requestConfig = {
    app: 'portal',
    domain: 'axq'
  }

  static _form = {}

  static _options = {}

  constructor (axqVideo) {
    super(axqVideo, { _tableField });
  }
}

export default AxqVideo;
